package com.yfp.client.mapper;

import com.yfp.client.domain.MarCouponPosition;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: 优惠券点位
 *
 * @CreateDate: 2024/7/16 11:10
 * @UpdateUser:
 * @UpdateDate: 2024/7/16 11:10
 * @UpdateRemark: 暂无修改
 * @Version: 1.0
 */
@Mapper
public interface MarCouponPositionMapper {
    List<MarCouponPosition> selectByMarCouponId(Long marCouponId);

    List<MarCouponPosition> selectByMarCouponIds(@Param("marCouponIds") List<Long> marCouponIds);

    void add(MarCouponPosition marCouponPosition);

    MarCouponPosition getByPositionIdAndLabel(@Param("couponId") Long couponId, @Param("positionId") String positionId);
}




